<h1>hello</h1>
<?php
echo 'ok';
session_start();
if ("admin" == $_POST['account'] && "321" == $_POST['password']) {
    $_SESSION['admin'] = $_POST['account'];
    header('location:./');
} else {
    echo '登录失败，请检查账号密码.';
}
?>